import request from '@/utils/request'
// 请求分类列表
export const getgoodsDetail = (id) => {
  return request('/goods', 'get', { id: id })
}
// 商品热销推荐
export const getgoodsHot = ({ id, limit = 3, type = 1 }) => {
  return request('/goods/hot', 'get', { id, limit, type })
}
